interface UpdateUserInfoInProjectAPIData {
  project_id: string
  contacts_name: string
  contacts_mobile: string
}

interface UpdateUserInfoInProjectAPIResData {
  code: number
  data: null
  msg: string
  time: string
}

export function updateUserInfoInProjectAPI(data: UpdateUserInfoInProjectAPIData, token: string) {
  return httpInstance.post<UpdateUserInfoInProjectAPIResData, UpdateUserInfoInProjectAPIData>(
    'api/Project/projectEditUser',
    data,
    { headers: { token } },
  )
}
